package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Product;
import cn.wolfcode.crm.query.impl.ProductQuery;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IProductService {
    void delete(Long id);

    void saveOrUpdate(Product record);

    Product get(Long id);


    List<Product> getAll();



    PageResult query(ProductQuery qo);

    List<Product> listAll(String organizationName, Boolean state);
}
